import ajax from '@/utils/request'
import "@/mock/renting.js"

// 获取数据
export function getRentingList(data){
    return ajax({
        url:'/getRentingList',
        method:'post',
        data
    })
}

export function edit(data){
    return ajax({
        url:'/edit',
        method:'post',
        data
    })
}
export function del(data){
    return ajax({
        url:'/delItemss',
        method:'post',
        data
    })
}
export function add(data){
    return ajax({
        url:'/addItemaa',
        method:'post',
        data
    })
}